import buttionRender from '@/components/aggridCellRenDerer/buttionRender.vue'

// 表格列
let tableColumns = [
    {
        showRowGroup: 'hide_def',
        headerName: '',
        checkboxSelection: true,
        headerCheckboxSelection: true,
        pinned: 'left',
        width: 50,
        resizable: false,
        filter: false,
        sortable: false,
        minWidth: 50,
        maxWidth: 50,
        lockPosition: 'left',
    },
    {
        headerName: '入库单号',
        field: 'stockInCode',
        width: 150,
    },

    {
        headerName: '入库时间',
        field: 'stockInDate',
        width: 150,
    },
    {
        headerName: '入库人',
        field: 'stockInName',
        width: 150,
    },
    {
        headerName: '收料单号',
        field: 'deliveryCode',
        width: 150,
    },
    {
        headerName: '入库类型',
        field: 'stockInTypeName',
        width: 200,
    },
    {
        headerName: '客户订单号',
        field: 'customOrderCode',
        width: 200,
    },
    {
        headerName: '计划单号',
        field: 'planOrderCode',
        width: 200,
    },
    {
        headerName: '织造序号',
        field: 'weaveCode',
        width: 200,
    },
    {
        headerName: '客户名称',
        field: 'customName',
        width: 200,
    },
    {
        headerName: '公司',
        field: 'companyName',
        width: 200,
    },
    {
        headerName: '仓库',
        field: 'warehouseName',
        width: 200,
    },
    {
        headerName: '区域',
        field: 'areaName',
        width: 200,
    },
    {
        headerName: '库位',
        field: 'storageName',
        width: 200,
    },
    {
        headerName: '托盘编号',
        field: 'shelveCode',
        width: 200,
    },
    {
        headerName: '布笼名称',
        field: 'shelveName',
        width: 200,
    },
    {
        headerName: '送货单位',
        field: 'deliveryDepartment',
        width: 200,
    },
    {
        headerName: '品名',
        field: 'brandName',
        width: 200,
    },
    {
        headerName: '色号',
        field: 'colorCode',
        width: 200,
    },
    {
        headerName: '坯布编号',
        field: 'greyCode',
        width: 150,
    },
    {
        headerName: '坯布名称',
        field: 'greyName',
        width: 200,
    },
    {
        headerName: '匹号',
        field: 'horseNo',
        width: 200,
    },
    {
        headerName: '单位',
        field: 'unit',
        width: 200,
    },
    {
        headerName: '等级',
        field: 'grade',
        width: 200,
    },
    {
        headerName: '条码号',
        field: 'clothfiyCode',
        width: 200,
    },
    {
        headerName: '尺寸',
        field: 'inch',
        width: 200,
    },
    {
        headerName: '重量',
        field: 'weight',
        width: 200,
    },
    {
        headerName: '单价',
        field: 'price',
        width: 200,
    },
    {
        headerName: '金额',
        field: 'amount',
        width: 200,
    },
    {
        headerName: '门幅',
        field: 'width',
        width: 200,
    },
    {
        headerName: '克重',
        field: 'gramWeight',
        width: 200,
    },
    {
        headerName: '纱批',
        field: 'yarnBatch',
        width: 200,
    },
    {
        headerName: '流转卡号',
        field: 'circulatCard',
        width: 150
    },
    {
        headerName: '布号',
        field: 'clothCode',
        width: 150
    },
    {
        headerName: '创建人',
        field: 'createName',
        width: 200,
    },
    {
        headerName: '创建时间',
        field: 'createTime',
        width: 200,
    },
    {
        headerName: '修改人',
        field: 'updateName',
        width: 200,
    },
    {
        headerName: '修改时间',
        field: 'updateTime',
        width: 200,
    },

]
let tableColumns1 = [
    {
        showRowGroup: 'hide_def',
        headerName: '',
        checkboxSelection: true,
        headerCheckboxSelection: true,
        pinned: 'left',
        width: 50,
        resizable: false,
        filter: false,
        sortable: false,
        minWidth: 50,
        maxWidth: 50,
        lockPosition: 'left',
    },
    {
        headerName: '客户订单号',
        field: 'customOrderCode',
        width: 200,
    },
    {
        headerName: '计划单号',
        field: 'planOrderCode',
        width: 200,
    },
    {
        headerName: '织造序号',
        field: 'weaveCode',
        width: 200,
    },
    {
        headerName: '客户名称',
        field: 'customName',
        width: 200,
    },
    {
        headerName: '公司',
        field: 'companyName',
        width: 200,
    },
    {
        headerName: '仓库',
        field: 'warehouseName',
        width: 200,
    },
    {
        headerName: '区域',
        field: 'areaName',
        width: 200,
    },
    {
        headerName: '库位',
        field: 'storageId',
        width: 200,
    },
    {
        headerName: '托盘编号',
        field: 'shelveCode',
        width: 200,
    },
    {
        headerName: '布笼名称',
        field: 'shelveName',
        width: 200,
    },
    {
        headerName: '送货单位',
        field: 'deliveryDepartment',
        width: 200,
    },
    {
        headerName: '品名',
        field: 'brandName',
        width: 200,
    },
    {
        headerName: '色号',
        field: 'colorCode',
        width: 200,
    },
    {
        headerName: '坯布编号',
        field: 'greyCode',
        width: 150,
    },
    {
        headerName: '坯布名称',
        field: 'greyName',
        width: 200,
    },
    {
        headerName: '等级',
        field: 'grade',
        width: 200,
    },
    {
        headerName: '重量',
        field: 'weight',
        width: 200,
    },
    {
        headerName: '金额',
        field: 'amount',
        width: 200,
    },
    {
        headerName: '门幅',
        field: 'width',
        width: 200,
    },
    {
        headerName: '克重',
        field: 'gramWeight',
        width: 200,
    },
    {
        headerName: '纱批',
        field: 'yarnBatch',
        width: 200,
    },

]
let tableColumns2 = [
    {
        showRowGroup: 'hide_def',
        headerName: '',
        checkboxSelection: true,
        headerCheckboxSelection: true,
        pinned: 'left',
        width: 50,
        resizable: false,
        filter: false,
        sortable: false,
        minWidth: 50,
        maxWidth: 50,
        lockPosition: 'left',
    },
    {
        headerName: '调整单号',
        field: 'adjustCode',
        width: 150,
    },
    {
        headerName: '收料单号',
        field: 'deliveryCode',
        width: 150,
    },
    {
        headerName: '客户订单号',
        field: 'customOrderCode',
        width: 200,
    },
    {
        headerName: '计划单号',
        field: 'planOrderCode',
        width: 200,
    },
    {
        headerName: '织造序号',
        field: 'weaveCode',
        width: 200,
    },
    {
        headerName: '客户名称',
        field: 'customName',
        width: 200,
    },
    {
        headerName: '调出公司',
        field: 'outCompanyName',
        width: 200,
    },
    {
        headerName: '调出仓库',
        field: 'outWarehouseName',
        width: 200,
    },
    {
        headerName: '调出区域',
        field: 'outAreaName',
        width: 200,
    },
    {
        headerName: '调出库位',
        field: 'outStorageName',
        width: 200,
    },
    {
        headerName: '调出托盘编号',
        field: 'outShelveCode',
        width: 200,
    },
    {
        headerName: '调出布笼名称',
        field: 'outShelveName',
        width: 200,
    },
    {
        headerName: '调入公司',
        field: 'inCompanyName',
        width: 200,
    },
    {
        headerName: '调入仓库',
        field: 'inWarehouseName',
        width: 200,
    },
    {
        headerName: '调入区域',
        field: 'inAreaName',
        width: 200,
    },
    {
        headerName: '调入库位',
        field: 'inStorageName',
        width: 200,
    },
    {
        headerName: '调入托盘编号',
        field: 'inShelveCode',
        width: 200,
    },
    {
        headerName: '调入布笼名称',
        field: 'inShelveName',
        width: 200,
    },
    {
        headerName: '送货单位',
        field: 'deliveryDepartment',
        width: 200,
    },
    {
        headerName: '品名',
        field: 'brandName',
        width: 200,
    },
    {
        headerName: '色号',
        field: 'colorCode',
        width: 200,
    },
    {
        headerName: '坯布编号',
        field: 'greyCode',
        width: 150,
    },
    {
        headerName: '坯布名称',
        field: 'greyName',
        width: 200,
    },
    {
        headerName: '匹号',
        field: 'horseNo',
        width: 200,
    },
    {
        headerName: '单位',
        field: 'unit',
        width: 200,
    },
    {
        headerName: '等级',
        field: 'grade',
        width: 200,
    },
    {
        headerName: '条码号',
        field: 'clothfiyCode',
        width: 200,
    },
    {
        headerName: '尺寸',
        field: 'inch',
        width: 200,
    },
    {
        headerName: '重量',
        field: 'weight',
        width: 200,
    },
    {
        headerName: '单价',
        field: 'price',
        width: 200,
    },
    {
        headerName: '金额',
        field: 'amount',
        width: 200,
    },
    {
        headerName: '收货单位',
        field: 'shipAddress',
        width: 200,
    },
    {
        headerName: '门幅',
        field: 'width',
        width: 200,
    },
    {
        headerName: '克重',
        field: 'gramWeight',
        width: 200,
    },
    {
        headerName: '纱批',
        field: 'yarnBatch',
        width: 200,
    },
    {
        headerName: '创建人',
        field: 'createName',
        width: 200,
    },
    {
        headerName: '创建时间',
        field: 'createTime',
        width: 200,
    },
    {
        headerName: '修改人',
        field: 'updateName',
        width: 200,
    },
    {
        headerName: '修改时间',
        field: 'updateTime',
        width: 200,
    },
]

// 成品仓库存表头

// 表格列
let tableColumnsCP1 = [
    {
        showRowGroup: 'hide_def',
        headerName: '',
        checkboxSelection: true,
        headerCheckboxSelection: true,
        pinned: 'left',
        width: 50,
        resizable: false,
        filter: false,
        sortable: false,
        minWidth: 50,
        maxWidth: 50,
        lockPosition: 'left',
    },
    {
        headerName: '客户名称',
        field: 'customName',
        width: 150,
    },
    {
        headerName: '流转卡号',
        field: 'circulatCard',
        width: 150,
    },
    {
        headerName: '原流转卡号',
        field: 'rawCirculatCard',
        width: 150,
    },
    {
        headerName: '发货流转卡号',
        field: 'deliverCirculatCard',
        width: 150,
    },
    {
        headerName: '库位',
        field: 'storageName',
        width: 200,
    },
    {
        headerName: '布号',
        field: 'clothCode',
        width: 200,
    },
    {
        headerName: '仓库名称',
        field: 'warehouseName',
        width: 200,
    },
    {
        headerName: '托盘编号',
        field: 'shelveCode',
        width: 200,
    },
    {
        headerName: '品名',
        field: 'brandName',
        width: 200,
    },
    {
        headerName: '色号',
        field: 'colorCode',
        width: 200,
    },
    {
        headerName: '色称',
        field: 'colorName',
        width: 200,
    },
    {
        headerName: '确认色',
        field: 'affirmColor',
        width: 200,
    },
    {
        headerName: '投染匹数',
        field: '',
        width: 200,
    },
    {
        headerName: '投染重量',
        field: '',
        width: 200,
    },
    {
        headerName: '成品匹数',
        field: '',
        width: 200,
    },
    {
        headerName: '成品毛重',
        field: 'productGrossWeight',
        width: 200,
    },
    {
        headerName: '成品数量(米)',
        field: 'productMeterNum',
        width: 200,
    },
    {
        headerName: '客户订单号',
        field: 'customOrderCode',
        width: 200,
    },
    {
        headerName: '计划单号',
        field: 'planOrderCode',
        width: 200,
    },
    {
        headerName: '坯布编号',
        field: 'greyCode',
        width: 150,
    },
    {
        headerName: '坯布名称',
        field: 'greyName',
        width: 200,
    },

]

let tableColumnsCP2 = [
    {
        showRowGroup: 'hide_def',
        headerName: '',
        checkboxSelection: true,
        headerCheckboxSelection: true,
        pinned: 'left',
        width: 50,
        resizable: false,
        filter: false,
        sortable: false,
        minWidth: 50,
        maxWidth: 50,
        lockPosition: 'left',
    },
    {
        headerName: '调出公司',
        field: 'outCompanyName',
        width: 200,
    },
    {
        headerName: '调出仓库',
        field: 'outWarehouseName',
        width: 200,
    },
    {
        headerName: '调出区域',
        field: 'outAreaName',
        width: 200,
    },
    {
        headerName: '调出库位',
        field: 'outStorageName',
        width: 200,
    },
    {
        headerName: '调出托盘编号',
        field: 'outShelveCode',
        width: 200,
    },
    {
        headerName: '调出布笼名称',
        field: 'outShelveName',
        width: 200,
    },
    {
        headerName: '调入公司',
        field: 'inCompanyName',
        width: 200,
    },
    {
        headerName: '调入仓库',
        field: 'inWarehouseName',
        width: 200,
    },
    {
        headerName: '调入区域',
        field: 'inAreaName',
        width: 200,
    },
    {
        headerName: '调入库位',
        field: 'inStorageName',
        width: 200,
    },
    {
        headerName: '调入托盘编号',
        field: 'inShelveCode',
        width: 200,
    },
    {
        headerName: '调入布笼名称',
        field: 'inShelveName',
        width: 200,
    },
    {
        headerName: '客户名称',
        field: 'customName',
        width: 150,
    },
    {
        headerName: '流转卡号',
        field: 'circulatCard',
        width: 150,
    },
    {
        headerName: '原流转卡号',
        field: 'rawCirculatCard',
        width: 150,
    },
    {
        headerName: '发货流转卡号',
        field: 'deliverCirculatCard',
        width: 150,
    },
    {
        headerName: '布号',
        field: 'clothCode',
        width: 200,
    },
    {
        headerName: '品名',
        field: 'brandName',
        width: 200,
    },
    {
        headerName: '色号',
        field: 'colorCode',
        width: 200,
    },
    {
        headerName: '色称',
        field: 'colorName',
        width: 200,
    },
    {
        headerName: '确认色',
        field: 'affirmColor',
        width: 200,
    },
    {
        headerName: '投染匹数',
        field: '',
        width: 200,
    },
    {
        headerName: '投染重量',
        field: '',
        width: 200,
    },
    {
        headerName: '成品匹数',
        field: '',
        width: 200,
    },
    {
        headerName: '成品毛重',
        field: 'productGrossWeight',
        width: 200,
    },
    {
        headerName: '成品数量(米)',
        field: 'productMeterNum',
        width: 200,
    },
    {
        headerName: '客户订单号',
        field: 'customOrderCode',
        width: 200,
    },
    {
        headerName: '计划单号',
        field: 'planOrderCode',
        width: 200,
    },
    {
        headerName: '坯布编号',
        field: 'greyCode',
        width: 150,
    },
    {
        headerName: '坯布名称',
        field: 'greyName',
        width: 200,
    },

]
export {
    tableColumns,
    tableColumns1,
    tableColumns2,
    tableColumnsCP1,
    tableColumnsCP2,
}